KadenceWP\KadenceStarterTemplates\Library_REST_Controller D

Total Complexity 756
Dependencies 25
Dependents 1
Total lines 4,934
Lines of code 3,654
Logical lines of code 1,845
Comment lines 1,025
Methods 99
Properties 25

Methods 99

Method Rating Maintainability Complexity Lines of code
install_settings()
D
11
63 392
get_new_remote_contents()
D
17
56 272
install_plugins()
D
21
56 181
install_navigation()
D
27
28 150
install_widgets()
C
26
26 153
set_image_data()
B
41 22 54
register_routes()
B
24
1 350
install_events()
B
35 19 76
install_products()
B
36 18 76
process_page_content()
B
42 17 49
set_attribute_data()
B
41 16 55
import_image()
B
39 15 63
get_images_by_industry()
B
42 16 48
set_category_data()
A
43 15 50
set_event_venue_data()
A
42 14 55
install_posts()
A
43 14 45
get_all_ai_items()
A
45 13 40
get_single_job()
A
45 12 40
has_initial_jobs()
A
47 12 35
get_remaining_jobs()
A
41 10 58
get_all_local_ai_items()
A
48 11 30
remove_content()
A
49 10 28
get_allowed_plugins()
A
32 1 159
get_ai_base_sites()
A
47 9 35
get_initial_jobs()
A
50 9 30
set_event_organizers_data()
A
47 8 37
get_keyword_suggestions()
A
48 8 32
get_image_info()
A
56 9 17
get_remote_search_images()
A
45 7 44
get_remote_industry_images()
A
46 7 42
add_attribute_term_by_id()
A
53 8 24
get_template_data()
A
57 8 17
get_image_search_query()
S
49 7 30
set_post_tag_data()
S
52 7 24
set_post_category_data()
S
53 7 24
set_taxonomy_data()
S
53 7 24
check_for_local_image()
S
48 6 37
create_template_data_file()
S
54 7 22
get_attribute_taxonomy_id()
S
45 5 46
get_remote_products()
S
50 6 29
get_remote_posts()
S
50 6 29
get_local_contexts()
S
57 6 18
create_ai_data_file()
S
56 6 18
update_pages()
S
55 6 18
get_remote_job()
S
50 5 31
get_remote_url_contents()
S
52 5 26
get_remote_events()
S
54 5 21
install_pages()
S
54 5 20
get_collection_params()
S
40 1 78
get_industry_verticals()
S
57 5 16
schedule_cleanup()
S
67 6 7
get_current_license_email()
S
60 5 14
get_remote_image_collections()
S
56 4 20
get_remote_industry_verticals()
S
58 4 17
get_image_collections()
S
57 4 17
get_license_keys()
S
61 4 13
move_widgets_to_inactive()
S
61 4 12
available_widgets()
S
61 4 12
hash()
S
63 4 10
sanitize_industries_array()
S
64 4 10
get_token_header()
S
58 3 14
process_options_images()
S
61 3 13
get_filesystem()
S
62 3 11
get_current_license_key()
S
65 3 9
get_starter_templates_folder()
S
67 3 9
get_old_pro_license_data()
S
65 3 9
is_response_code_error()
S
66 3 8
add_attribute_terms_by_id()
S
64 3 10
is_image_url()
S
68 3 8
check_for_image()
S
65 3 9
get_items()
S
62 2 12
get_instance()
S
72 2 6
get_local_template_data_path()
S
70 2 6
get_remaining_credits()
S
64 2 10
get_base_url()
S
71 2 6
get_base_path()
S
68 2 7
get_subfolder_name()
S
71 2 6
get_local_template_data_filename()
S
68 2 7
get_local_data_contents()
S
68 2 8
get_local_template_data_contents()
S
66 2 9
create_filename_from_alt()
S
66 2 8
get_bundle_download_link()
S
68 2 7
activate_plugin()
S
67 2 7
get_ai_library_folder()
S
69 2 7
has_local_file()
S
80 1 3
sanitize_plugins()
S
75 1 4
get_pro_license_data()
S
67 1 8
get_auth_data()
S
67 1 8
process_images()
S
75 1 4
validate_array()
S
80 1 3
get_local_ai_data_path()
S
78 1 3
sanitize_pages()
S
67 1 8
sanitize_filename()
S
79 1 3
__construct()
S
68 1 7
get_ai_subfolder_name()
S
75 1 4
get_local_ai_data_filename()
S
79 1 3
delete_starter_templates_folder()
S
79 1 3
get_data()
S
77 1 4
get_items_permission_check()
S
80 1 3